-- GENERATED SPELL FOR [XE-321 Boombot] --


function spell0_33346(pUnit, Event) --@Boom,n/a--
pUnit:FullCastSpellOnTarget(62834,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33346', 559, 1)
end

function Sorts_33346(pUnit, Event)
local choix_sorts_33346 = math.random(0, 0)
if choix_sorts_33346 == 0 then
pUnit:RegisterEvent('spell0_33346', 1, 1)
end
end

function mob33346_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33346', math.random(1500, 3000), 1)
end

function mob33346_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33346_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33346_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33346, 1, 'mob33346_Action')
RegisterUnitEvent(33346, 2, 'mob33346_Leave')
RegisterUnitEvent(33346, 3, 'mob33346_Kill')
RegisterUnitEvent(33346, 4, 'mob33346_Die')
